<%--
  Created by IntelliJ IDEA.
  User: 11262
  Date: 2022/09/13
  Time: 15:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script src="/js/jquery-1.4.4.min.js"></script>
    <script>
        //页面加载时初始化执行的代码   演示什么是跨域
        $(function(){
            var param = {};
            $.ajax({
                url: "https://www.baidu.com/", // https:
                type: "get",
                data: param,
                success: function(data){
                    //..
                }
            });
        });
    </script>
</head>
<body>

</body>
</html>
